How to filter rows in SQL using WHERE

join shbcf.ru